package com.digital.smartgrow.entity.datacenter;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 党政职务
 * </p>
 *
 * @author xiewb
 * @since 2022-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("government_duty")
@ApiModel(value="GovernmentDuty对象", description="党政职务")
public class GovernmentDuty implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "职工号")
    @TableField("employeeId")
    private String employeeId;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty(value = "所在单位")
    @TableField("company")
    private String company;

    @ApiModelProperty(value = "党政职务名称")
    @TableField("dutyName")
    private String dutyName;

    @ApiModelProperty(value = "职务级别")
    @TableField("dutyLevel")
    private String dutyLevel;

    @ApiModelProperty(value = "任职年月")
    @TableField("serviceDate")
    private String serviceDate;

    @ApiModelProperty(value = "任职单位")
    @TableField("serviceCompany")
    private String serviceCompany;

    @ApiModelProperty(value = "任职方式")
    @TableField("serviceModel")
    private String serviceModel;

    @ApiModelProperty(value = "任职文号")
    @TableField("serviceNumber")
    private String serviceNumber;

    @ApiModelProperty(value = "任职期限")
    @TableField("serviceDeadline")
    private String serviceDeadline;

    @ApiModelProperty(value = "任职批准单位")
    @TableField("approvalCompany")
    private String approvalCompany;

    @ApiModelProperty(value = "主管或从事的工作")
    @TableField("workConent")
    private String workConent;

    @ApiModelProperty(value = "当前任职状态")
    @TableField("currentStatus")
    private String currentStatus;

    @ApiModelProperty(value = "是否主职")
    @TableField("mainJob")
    private String mainJob;

    @ApiModelProperty(value = "免职日期")
    @TableField("removeDate")
    private String removeDate;

    @ApiModelProperty(value = "免职方式")
    @TableField("removeModel")
    private String removeModel;

    @ApiModelProperty(value = "免职原因")
    @TableField("removeReason")
    private String removeReason;

    @ApiModelProperty(value = "免职文号")
    @TableField("removeNumber")
    private String removeNumber;

    @ApiModelProperty(value = "证明")
    @TableField("attchment")
    private String attchment;

    @ApiModelProperty(value = "数据类别")
    @TableField("dataType")
    private String dataType;


}
